package com.zzyl.quartz.task;

import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class TimeTask {
    public void showTime(){
        System.out.println("定时任务"+new Date());
    }
}
